Special characters in regular expressions
Character implication
\ As a turn, that is, the characters usually after "\" are not interpreted in the original sense, such as the/b/matching character "B", when B is preceded by a backslash/\b/, to
JavaScript's RegExp objects and string objects define methods that use regular expressions to perform powerful pattern matching and text retrieval and substitution functions.
In JavaScript, regular expressions are represented by a RegExp object. Of
Regular expression syntax on JavaScript
Author: no powerSource: http://www.blog.edu.cn/user2/afan/archives/2006/1215847.shtml
A regular expression is an object that describes the character mode.The Regexp object and string object in Javascript
A regular expression is an object that describes the character mode.
The Regexp object and string object in Javascript define a method that uses regular expressions to execute powerful pattern matching and text retrieval and replacement functions.
Oracle's formal expression is implemented in the form of various SQL functions and a WHERE clause operator. If you are unfamiliar with regular expressions, this article will give you an idea of this new, incredibly powerful, yet seemingly mysterious
The RegExp object and String object in JavaScript define a method that uses regular expressions to execute powerful pattern matching and text retrieval and replacement functions.
In JavaScript, regular expressions are represented by a RegExp object.
Regular expressions can:
• Test a pattern for a string. For example, you can test an input string to see if there is a phone number pattern or a credit card number pattern in the string. This is called data validation
• Replace text. You can use a
A regular expression is an object that describes the character pattern.JavaScript's RegExp objects and string objects define methods that use regular expressions to perform powerful pattern-matching and text-retrieval and substitution functions.‘‘***
Regular expressions can:• Test a pattern for a string. For example, you can test an input string to see if there is a phone number pattern or a credit card number pattern in the string. This is called data validation
• Replace text. You can use a
Javascript| Regular
A regular expression is an object that describes a character pattern.
JavaScript's RegExp objects and string objects define methods that use regular expressions to perform powerful pattern matching and text retrieval and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.